package cn.yili12.business.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotEmpty;

@Data
@ApiModel
public class OrganizeAddDTO {
    @ApiModelProperty("名称")
    @NotEmpty(message = "名称不能为空")
    private String name;
}
